/*
 * Project Name demo
 * File Name ChatSessionInfo
 * Package Name com.huxiaosu.demo.socketio.entity
 * Create Time 2023/1/31
 * Create by name：liujie
 */
package com.huxiaosu.demo.socketio.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Table;

/**
 * Description
 *
 * @ClassName: ChatSessionInfo
 * @author: liujie
 * @date: 2023/1/31 14:43
 */
@Data
@Entity
@ToString
@Table(name = "chat_session_info")
@EntityListeners(AuditingEntityListener.class)
public class ChatSessionInfo extends BaseEntity{
    /**产品 ID*/
    @Column(name = "announcement_id")
    private Integer announcementId;
    /**投资人 ID*/
    @Column(name = "investor_id")
    private Integer investorId;
    /**回话状态*/
    @Column(name = "session_status")
    private Integer sessionStatus;
}